function gplot(x, y)
% gplot generates a graph of the data in x vs y, but sets
% the line types to all be the same (solid) and the symbols to be used
% 
% first we generate a set of tables for the symbol lists
% symlist is the list of symbols in the Journal of Physiology order
% (J. Physiol. seems to be one of the last journals to specify the order)
% symlist is used to set the "marker" property
symlist = ['o', 's', '^', 'o', 's', '^', 'd', 'd', 'p', 'p', 'v', 'v'];
% fill list: the symbols are either filled or transparent. Fills are always black
% Fill list is used to set the "markerfacecolor" argument.
filllist = ['none', 'none', 'none', 'k', 'k', 'k', 'none', 'k', ...
      'none', 'k', 'none', 'k'];
nsym = length(symlist);
if(nsym ~= length(filllist))
   disp ('Error in fill and symbol lists in gplot()')
   return;
end
lx = size(x);
ly = size(y);
if(lx(2) ~= ly(2))
   disp('Unequal number of values in the two arrays to gplot()')
   return;
end
figure
hold on
for i=1:lx
   k = mod(i, nsym)
   sym = sprintf('-%1cb', symlist[k])
   plot(a(:,i), b(:,i), sym, 'markerfacecolor', filllist[k]);
end

   
   
